#ifndef CMM_LOCATION_H
#define CMM_LOCATION_H
#include <iostream>
#include <string>
#include "./throw_error.h"
struct pw{//point_with_words
	int s_p,e_p;//point of words start/end 
	std::string word;
	pw(){}
	pw(int sp,int ep){
		s_p=sp;
		e_p=ep;
	}
	pw(std::string w){
		word=w;
	}
	pw(int sp,int ep,std::string w){
		s_p=sp;
		e_p=ep;
		word=w;
	}
};
std::ostream& operator << (std::ostream &out,const pw& x){
	out<<x.s_p<<" "<<x.e_p<<" "<<x.word<<std::endl;
	return out;
}//cout<<p;
#endif /*!H*/
